﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 方法的定义
{
    class Compute
    {
        public double Add(double num1, double num2)
        {
            return num1 + num2;
        }

        public double Mins(double num1, double num2)
        {
            return num1 - num2;
        }

        public double Chen(double num1, double num2)
        {
            return num1 * num2;
        }

        public double Chu(double num1, double num2)
        {
            return num1 / num2;
        }
    }
}
